package com.bicon.botu.mall.order.processor.fallback;


import com.bicon.botu.core.base.common.Constants;
import com.bicon.botu.core.base.common.entity.BaseResult;
import com.bicon.botu.core.base.common.utils.JsonUtil;
import com.bicon.botu.mall.order.processor.handler.SmsRpc;
import org.springframework.stereotype.Component;

/**
 * 阿里云短信
 *
 * @author 李双喜
 * @date 2018/6/8 16:24
 */
@Component
public class SmsFallback implements SmsRpc {
    @Override
    public String batchSendYunSms(String phoneJson, String mapJson, String templateCode,String signName) {
        return JsonUtil.toJson(new BaseResult(Constants.RESPONSE_CODE_404, Constants.RESPONSE_MESSAGE_404));
    }
}
